package JAVATest;

import java.util.Scanner;

/**
 * ClassName:Text_001
 * Package:HelloWord
 * Description:
 *
 * @Author:ZhangXin
 * @Create2023/1/10-16:46
 * @Version:v1.0
 */
public class Text_001 {
    //键盘输入Scanner的用法
    public static void main(String[] args){
        System.out.print("请输入一个整数a=");
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        System.out.print("请输入一个整数b=");
        int b = sc.nextInt();
        System.out.print("两数之和");
        System.out.println(a+b);

    }
}
